<?php

//载入路由配置文件
$rule   = include 'rule.php';

//数据库
$custom['master']['driver']   = 'mysql';			//数据库驱动
$custom['master']['host']     = 'localhost';		//数据库地址
$custom['master']['username'] = 'root';				//数据库用户名
$custom['master']['passwd']   = '';			//数据库密码
$custom['master']['dbname']   = 'hopecms';			//数据库名
$custom['master']['charset']  = 'utf8';				//字符集
$custom['master']['prefix']   = 'hpc_';				//数据表前缀


//访问
$custom['access']['url_mode']   = 'compatible';			//URL模式，path为pathinfo模式，compatible为传统模式
$custom['access']['url_route']  = '0';				//是否开启路由
$custom['access']['url_suffix'] = '.html';			//路由模式下，url后缀
$custom['access']['file404']    = '';				//自定义404错误文件地址
$custom['access']['url_rule']   = $rule;			//路由规则，在 rule.php 下定义

$custom['encrypt'] = 'asdgasdf';					//令牌密匙
$custom['cookie']  = 'hopecms';						//cookie前缀

?>